package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the DEILVERY_DETAIL database table.
 * 
 */
@Entity
@Table(name="DEILVERY_DETAIL")
@NamedQuery(name="DeilveryDetail.findAll", query="SELECT d FROM DeilveryDetail d")
public class DeilveryDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(initialValue=1, allocationSize=1, name="VDETAIL_ID_GENERATOR", sequenceName="SEQ2")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="VDETAIL_ID_GENERATOR")
	@Column(name="VDETAIL_ID")
	private long vdetailId;

	@Column(name="VDETAIL_COMP")
	private String vdetailComp;

	@Column(name="VDETAIL_NAME")
	private String vdetailName;

	@Column(name="VDETAIL_NUM")
	private BigDecimal vdetailNum;

	@Column(name="VDETAIL_REMARKS")
	private String vdetailRemarks;
	
	@Column(name="VDETAIL_EQUIPSAVEID")
	private long vdetailEquipsaveid;
	
	public long getVdetailEquipsaveid() {
		return vdetailEquipsaveid;
	}

	public void setVdetailEquipsaveid(long vdetailEquipsaveid) {
		this.vdetailEquipsaveid = vdetailEquipsaveid;
	}
	
	@Column(name="DELIVERY_ID")
	private String deliveryId;

	public String getDeliveryId() {
		return deliveryId;
	}

	public void setDeliveryId(String deliveryId) {
		this.deliveryId = deliveryId;
	}

	public DeilveryDetail() {
	}

	public long getVdetailId() {
		return this.vdetailId;
	}

	public void setVdetailId(long vdetailId) {
		this.vdetailId = vdetailId;
	}

	public String getVdetailComp() {
		return this.vdetailComp;
	}

	public void setVdetailComp(String vdetailComp) {
		this.vdetailComp = vdetailComp;
	}

	public String getVdetailName() {
		return this.vdetailName;
	}

	public void setVdetailName(String vdetailName) {
		this.vdetailName = vdetailName;
	}

	public BigDecimal getVdetailNum() {
		return this.vdetailNum;
	}

	public void setVdetailNum(BigDecimal vdetailNum) {
		this.vdetailNum = vdetailNum;
	}

	public String getVdetailRemarks() {
		return this.vdetailRemarks;
	}

	public void setVdetailRemarks(String vdetailRemarks) {
		this.vdetailRemarks = vdetailRemarks;
	}

}